package com.hmtech.aup.data.auth

import com.hmtech.aup.domain.dto.GoogleSignInDTO
import com.hmtech.aup.domain.vo.SaTokenInfoVO
import com.hmtech.aup.domain.vo.UserVO
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST


interface UserApiService {

    @POST("/api/signIn/withGoogle")
    suspend fun signInWithGoogle(@Body dto: GoogleSignInDTO): SaTokenInfoVO

    @POST("/api/user/info")
    suspend fun getUserInfo(): UserVO
}